import request from '@/utils/request';
// 概览

// 概览详情列表
export function overviewDetailList(data: anyObj): ApiPromise<ApiResponse> {
	return request({
		url: '/middle-platform/modules/platformOverview/overviewDetailList',
		method: 'post',
		data: data,
		headers: {
			version: 'lijunhang',
		},
	});
}

// 部门类型告警数查询
export function orgTypeAlarmStatisticss(data: anyObj): ApiPromise<ApiResponse> {
	return request({
		url: '/middle-platform/modules/platformOverview/orgTypeAlarmStatistics',
		method: 'post',
		data: data,
		headers: {
			version: 'lijunhang',
		},
	});
}

// 全部单位异常能力数查询
export function orgTypeAbnormalAbility(data: anyObj): ApiPromise<ApiResponse> {
	return request({
		url: '/middle-platform/modules/platformOverview/orgTypeAbnormalAbility',
		method: 'post',
		data: data,
		headers: {
			version: 'lijunhang',
		},
	});
}
